<table class="table_main" border="0">
	<tr>
		<td class="tekst" width="550" align="left" style="padding-top:10px;vertical-align:top;" height="300">
			{if $category|count_characters > 0}
			<div class="blogdate">Alle berichten met het label '{$category}'. <a href="blog/">Alle berichten weergegeven</a><br/><br/>
			</div>
			{/if}
			{section name=e loop=$entries}
			<h1>{$entries[e]->get_title()}</h1>
			<p>{$entries[e]->get_content()} </p>
			<div class="blogdate">
			{if $entries[e]->get_updated() neq $entries[e]->get_published()}
			Bericht gewijzigd op {$entries[e]->get_updated()|date_format:"%A %e %B %Y om %H:%M"} door {$entries[e]->get_authors()}<br/>
			{else}
			Bericht geplaatst op {$entries[e]->get_published()|date_format:"%A %e %B %Y om %H:%M"} door {$entries[e]->get_authors()}<br/>
			{/if}
			{if $entries[e]->get_labels()|@count > 0} 
				Labels: {foreach from=$entries[e]->get_labels() item=i}
	    		<a href='blog/?category={$i}'>{$i}</a>&nbsp;
				{/foreach}
			{/if}
			</div>
			<br/>
      <hr style="color:#55be16;background-color:#55be16;height:2px">
			<br/>
			{/section}
			
			<div align="center">
			<table style="width:400px;">
			<tr>
			<td align="left" style="width:200px;">
			{if $show_previous}
			<a style="font-size:16px;font-weight:bold;" href="blog/?start-index={math equation="x - y" x=$startIndex y=$itemsPerPage}">&laquo;  Nieuwere berichten</a>
			{else}
			&nbsp;
			{/if}
			</td>
			<td align="right" style="width:200px;">
			{if $show_next}
			<a style="font-size:16px;font-weight:bold;" href="blog/?start-index={math equation="x + y" x=$startIndex y=$itemsPerPage}">Oudere berichten&raquo;</a>
			{else}
			&nbsp;
			{/if}
			</td>
			</tr>
			</table>
			</div>
			
		</td>
		<td style="padding-left:60px;padding-top:100px" align="left" class="tekst">
			{include file="modals/tellfriend.tpl"}
			<div class="blogrightsideheaders">Bekijk berichten met label:</div>
			{if $categories|@count > 0}
				<ul>
				{foreach from=$categories item=i} 
				<li>
				{if $i eq $category}
				{$i}
				{else}
				<a href="blog/?category={$i}">{$i}</a></li>
				{/if}
				{/foreach}
				</ul>
			{/if}
			<div class="blogrightsideheaders" style="padding-top:80px;">Foto's:</div>
			<div align="center">
				<!-- Start of Flickr Badge -->
				<style type="text/css">
				.zg_div {ldelim}margin:0px 5px 5px 0px; width:117px;{rdelim}
				.zg_div_inner {ldelim}border: solid 1px #ffffff; background-color:#ffffff;  color:#666666; text-align:center; font-family:arial, helvetica; font-size:11px;{rdelim}
				.zg_div a, .zg_div a:hover, .zg_div a:visited {ldelim}color:#55be16; background:inherit !important; text-decoration:none !important;{rdelim}
				</style>
				<script type="text/javascript">
				zg_insert_badge = function() {ldelim}
				var zg_bg_color = 'ffffff';
				var zgi_url = 'http://www.flickr.com/apps/badge/badge_iframe.gne?zg_bg_color='+zg_bg_color+'&zg_person_id=24094731%40N02';
				document.write('<iframe style="background-color:#'+zg_bg_color+'; border-color:#'+zg_bg_color+'; border:none;" width="113" height="151" frameborder="0" scrolling="no" src="'+zgi_url+'" title="Flickr Badge"><\/iframe>');
				if (document.getElementById) document.write('<div id="zg_whatlink"><a href="http://www.flickr.com/badge.gne"	style="color:#55be16;" onclick="zg_toggleWhat(); return false;">What is this?<\/a><\/div>');
				{rdelim}
				zg_toggleWhat = function() {ldelim}
				document.getElementById('zg_whatdiv').style.display = (document.getElementById('zg_whatdiv').style.display != 'none') ? 'none' : 'block';
				document.getElementById('zg_whatlink').style.display = (document.getElementById('zg_whatdiv').style.display != 'none') ? 'none' : 'block';
				return false;
				{rdelim}
				</script>
				<div class="zg_div"><div class="zg_div_inner"><a href="http://www.flickr.com">www.<strong style="color:#3993ff">flick<span style="color:#ff1c92">r</span></strong>.com</a><br>
				<script type="text/javascript">zg_insert_badge();</script>
				<div id="zg_whatdiv">This is a Flickr badge showing public photos from <a href="http://www.flickr.com/photos/24094731@N02">dation305</a>. Make your own badge <a href="http://www.flickr.com/badge.gne">here</a>.</div>
				<script type="text/javascript">if (document.getElementById) document.getElementById('zg_whatdiv').style.display = 'none';</script>
				</div>
				</div>
				<!-- End of Flickr Badge -->
			</div>
		</td>
	</tr>
</table>